obj-m := m3.o

ifeq ("${KDIR}", "")
KDIR := /lib/modules/$(shell uname -r)/build
endif

all:
	$(MAKE) -C $(KDIR) M=$(CURDIR) KBUILD_EXTRA_SYMBOLS="$(CURDIR)/../m1/Module.symvers $(CURDIR)/../m2/Module.symvers" modules
clean:
	$(MAKE) -C $(KDIR) M=$(CURDIR) clean